package lesson.myinput;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class MyInputDemo2 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("Day12\\src\\lesson\\myinput\\b.txt");

        int b;
        while((b = fis.read())!= -1){
            System.out.println((char)b);
        }


        fis.close();
    }
}
